package com.mak.menoy.response;

public class PacketHeader {
	
	public static final String TAG_HEADER_HEAD = "head";
	public static final String TAG_HEADER_MSGCODE = "resultcode";
	public static final String TAG_HEADER_MSGTIPS = "resultmsg";
	public static final String TAG_HEADER_RESULT = "result";
	public static final String TAG_HEADER_TIMESTAMP = "timestamp";
	
	private int msgcode = -1;
	private int result = -1;
	private String msgtips;
	private String timestamp;

	public int getMsgcode() {
		return msgcode;
	}

	public void setMsgcode(int msgcode) {
		this.msgcode = msgcode;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public String getMsgtips() {
		return msgtips;
	}

	public void setMsgtips(String msgtips) {
		this.msgtips = msgtips;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	@Override
	public String toString() {
		return "PacketHeader [msgcode=" + msgcode + ", result=" + result + ", msgtips=" + msgtips + ", timestamp="
				+ timestamp + "]";
	}

}
